package com.ruoyi.reportsnhnt.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水泥混凝土抗弯拉强度试验检测记录详情业务对象 report_snhnt_kwlqd_ba_detail
 *
 * @author zxs
 * @date 2024-06-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportSnhntKwlqdBaDetailBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 试件编号
     */
    @NotBlank(message = "试件编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shijbh;

    /**
     * 制作日期
     */
    @NotNull(message = "制作日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date zhizrq;

    /**
     * 试验日期
     */
    @NotNull(message = "试验日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date shiyrq;

    /**
     * 龄期
     */
    @NotBlank(message = "龄期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lingq;

    /**
     * 试件尺寸(mm)长x宽x高
     */
    @NotBlank(message = "试件尺寸(mm)长x宽x高不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shijcc;

    /**
     * 破坏荷载(kN)
     */
    @NotNull(message = "破坏荷载(kN)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal pohhz;

    /**
     * 抗弯拉强度测值(MPa)
     */
    @NotNull(message = "抗弯拉强度测值(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal kangwlqddz;

    /**
     * 抗弯拉强度平均(MPa)
     */
    @NotNull(message = "抗弯拉强度平均(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal kangwlqdpj;

    /**
     * 占设计强度百分比
     */
    @NotBlank(message = "占设计强度百分比不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zhansjqdbfb;
    private String jiegpd;

}
